.class Lcom/nemustech/regina/PanelTrashMessage$7;
.super Ljava/lang/Object;
.source "PanelTrashMessage.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/PanelTrashMessage;->removeTrashMsg(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/PanelTrashMessage;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/PanelTrashMessage;)V
    .locals 0
    .parameter

    .prologue
    .line 329
    iput-object p1, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 5
    .parameter "object"

    .prologue
    const/4 v4, 0x2

    const/4 v3, 0x0

    const/4 v2, 0x0

    .line 332
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v0

    cmpl-float v0, v0, v2

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v0

    cmpl-float v0, v0, v2

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v0

    const/high16 v1, 0x4000

    cmpl-float v0, v0, v1

    if-nez v0, :cond_1

    .line 335
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setOpacity(F)V

    .line 336
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 337
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPanel;->freeze(I)V

    .line 338
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v1

    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$200(Lcom/nemustech/regina/PanelTrashMessage;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFWorld;)V

    .line 340
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0, v3}, Lcom/nemustech/regina/PanelTrashMessage;->access$702(Lcom/nemustech/regina/PanelTrashMessage;I)I

    .line 341
    iget-object v0, p0, Lcom/nemustech/regina/PanelTrashMessage$7;->this$0:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-static {v0}, Lcom/nemustech/regina/PanelTrashMessage;->access$600(Lcom/nemustech/regina/PanelTrashMessage;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 343
    :cond_1
    return-void
.end method
